package cn.iocoder.yudao.module.yyzx.controller.admin.retreat.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 退住登记 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RetreatRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "12078")
    @ExcelProperty("主键")
    private Integer id;

    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29173")
    @ExcelProperty("客户ID")
    private Integer customerid;

    @Schema(description = "退住时间")
    @ExcelProperty("退住时间")
    private LocalDateTime retreatTime;

    @Schema(description = "退住类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty(value = "退住类型", converter = DictConvert.class)
    @DictFormat("RETREAT_TYPE") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String retreatType;

    @Schema(description = "退出原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不好")
    @ExcelProperty("退出原因")
    private String retreatReason;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("RETREATE_STATUS") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String status;

    @Schema(description = "审核意见", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("审核意见")
    private String auditStatus;

    @Schema(description = "审核人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("审核人")
    private String auditPerson;

    @Schema(description = "审核时间")
    @ExcelProperty("审核时间")
    private LocalDateTime auditTine;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}